package com.salesmanager.core.utils.weichat;

import java.util.Random;

/**
 * Created by Liutong on 2016/7/19.
 */
public class RandomUtil {

    public static String getRandomCharAndNumr(Integer length) {
        String str = "";
        Random random = new Random();
        for (int i = 0; i < length; i++) {
                str += String.valueOf(random.nextInt(10));
        }
        return str;
    }
}
